Ext.namespace("App.Base.common.param");

//
App.Base.common.param.WEBAPP_SERVLET_CONTEXT_REALPATH = '/oa/';

//由servlet(main.do)的当前执行路径寻回到WEBAPP_SERVLET_CONTEXT_REALPATH的相对路径，对应web.xml的<url-pattern>
//1、<url-pattern>/main.do</url-pattern> ： ''
//2、<url-pattern>/sysmainframe/main.do</url-pattern> : '../'
App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH  = '';

//
Ext.BLANK_IMAGE_URL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'js/ext-2.2.1/resources/images/default/s.gif';

//
App.Base.common.param.SYSTEM_LOGO_TITLE = '后台管理系统V1.0';
App.Base.common.param.SYSTEM_VERSION = 'V1.0';
App.Base.common.param.SYSTEM_LOGO_IMAGE_URL = '<img src="resources/images/logo.gif" width="100%" height="100%" />';
App.Base.common.param.SYSTEM_CSS_STYLESHEET_URL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'js/ext-2.2.1/resources/css/';

App.Base.common.param.SYSTEM_USER_LOGIN_URL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'login.do';
App.Base.common.param.SYSTEM_MAINFRAME_URL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'main.do';

//
App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_NORMAL_TITLE = '后台管理';
App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_QTIP = '欢迎使用 ' + App.Base.common.param.SYSTEM_LOGO_TITLE;
App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_ID = 'SYSMENUIDROOTNODE';
App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_ICON_URL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'resources/images/folder-closed.ico';
App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_EXPANDICON_URL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'resources/images/folder_opened.ico';
App.Base.common.param.SYSTEM_TREEPANEL_ASYNC_TREELOADER_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemMenusLayerQuery.do';

App.Base.common.param.TREEPANEL_ROOTNODE_COMMON_ICON_URL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'resources/images/folder-closed.ico';
App.Base.common.param.TREEPANEL_ROOTNODE_COMMON_EXPANDICON_URL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'resources/images/folder_opened.ico';
//
//App.Base.common.param.SYSMENUMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemMenusLayerQuery.do';
App.Base.common.param.SYSMENUMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemMenusHandle.do';

//
App.Base.common.param.SYSMODMGR_TREE_ROOTNODE_NORMAL_TITLE = '系统模块配置管理根目录';
App.Base.common.param.SYSMODMGR_TREE_ROOTNODE_QTIP = '系统模块配置管理根目录';
App.Base.common.param.SYSMODMGR_TREE_ROOTNODE_ID = 'SYSMODIDROOTNODE';
App.Base.common.param.SYSMODMGR_TREE_ROOTNODE_ICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_ICON_URL;
App.Base.common.param.SYSMODMGR_TREE_ROOTNODE_EXPANDICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_EXPANDICON_URL;
App.Base.common.param.SYSMODMGR_ASYNC_TREELOADER_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemModulesLayerQuery.do';
App.Base.common.param.SYSMODMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemModulesHandle.do';
//
App.Base.common.param.SYSROLESMGR_TREE_ROOTNODE_NORMAL_TITLE = '系统角色(类型)管理';
App.Base.common.param.SYSROLESMGR_TREE_ROOTNODE_QTIP = '系统角色(类型)管理';
App.Base.common.param.SYSROLESMGR_TREE_ROOTNODE_ID = 'SYSROLESIDROOTNODE';
App.Base.common.param.SYSROLESMGR_TREE_ROOTNODE_NORMALICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_ICON_URL;
App.Base.common.param.SYSROLESMGR_TREE_ROOTNODE_EXPANDICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_EXPANDICON_URL;
App.Base.common.param.SYSROLESMGR_ASYNC_TREELOADER_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemRolesLayerQuery.do';
App.Base.common.param.SYSROLESMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemRolesFlatQuery.do';
App.Base.common.param.SYSROLESMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemRolesHandle.do';
//
App.Base.common.param.SYSPERMSMGR_TREE_ROOTNODE_NORMAL_TITLE = '系统权限(类型)管理';
App.Base.common.param.SYSPERMSMGR_TREE_ROOTNODE_QTIP = '系统权限(类型)管理';
App.Base.common.param.SYSPERMSMGR_TREE_ROOTNODE_ID = 'SYSPERMSIDROOTNODE';
App.Base.common.param.SYSPERMSMGR_TREE_ROOTNODE_NORMALICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_ICON_URL;
App.Base.common.param.SYSPERMSMGR_TREE_ROOTNODE_EXPANDICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_EXPANDICON_URL;
App.Base.common.param.SYSPERMSMGR_ASYNC_TREELOADER_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemPermsLayerQuery.do';
App.Base.common.param.SYSPERMSMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemPermsFlatQuery.do';
App.Base.common.param.SYSPERMSMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemPermsHandle.do';
//
App.Base.common.param.SYSROLEPERMMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemRolesPermsFlatQuery.do';
App.Base.common.param.SYSROLEPERMMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemRolesPermsHandle.do';
//
App.Base.common.param.SYSUSERTYPEMGR_TREE_ROOTNODE_NORMAL_TITLE = '系统用户类型管理';
App.Base.common.param.SYSUSERTYPEMGR_TREE_ROOTNODE_QTIP = '系统用户类型管理';
App.Base.common.param.SYSUSERTYPEMGR_TREE_ROOTNODE_ID = 'SYSUSERTYPEIDROOTNODE';
App.Base.common.param.SYSUSERTYPEMGR_TREE_ROOTNODE_NORMALICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_ICON_URL;
App.Base.common.param.SYSUSERTYPEMGR_TREE_ROOTNODE_EXPANDICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_EXPANDICON_URL;
App.Base.common.param.SYSUSERTYPEMGR_ASYNC_TREELOADER_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemUserTypeLayerQuery.do';
App.Base.common.param.SYSUSERTYPEMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemUserTypeFlatQuery.do';
App.Base.common.param.SYSUSERTYPEMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemUserTypeHandle.do';
//
App.Base.common.param.SYSUSERMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemUsersFlatQuery.do';
App.Base.common.param.SYSUSERMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemUsersHandle.do';
//
App.Base.common.param.SYSUSERROLEMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemUsersRolesFlatQuery.do';
App.Base.common.param.SYSUSERROLEMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'systemmanage/SystemUsersRolesHandle.do';
//

//
App.Base.common.param.GRID_PAGE_SIZE_15 = 15;
App.Base.common.param.GRID_PAGE_SIZE_10 = 10;
App.Base.common.param.GRID_PAGE_SIZE_5 = 5;
//App.Base.common.param.GRID_PAGE_SIZE_6 = 6;

App.Base.common.param.REQ_SUCCESS = '0';

App.Base.common.param.OP_CMD_NONE = '0';
App.Base.common.param.OP_CMD_ADD = '1';
App.Base.common.param.OP_CMD_MODIFY = '2';
App.Base.common.param.OP_CMD_DELETE = '3';
App.Base.common.param.OP_CMD_GENERATE = '4';
App.Base.common.param.OP_CMD_QUERY = '5';

App.Base.common.param.OP_CMD_LOGIN_VERIFY = '6';
App.Base.common.param.OP_CMD_LOGIN_OUT = '7';

App.Base.common.param.BUTTON_ACTION_NONE = '0';
App.Base.common.param.BUTTON_ACTION_OK = '1';
App.Base.common.param.BUTTON_ACTION_CANCEL = '2';

App.Base.common.param.SPLIT_CHARS_UNDELINE = '____';
App.Base.common.param.SPLIT_CHARS_VERTICAL_LINE = '|';

App.Base.common.param.INVALIDATE_ID = '-1';

App.Base.common.param.MESSAGEBOX_NORMAL_TIPS = '系统提示';

App.Base.common.param.TEXTFIELD_INPUT_INVALIDATE_CHARS = '\';';
App.Base.common.param.TEXTFIELD_INPUT_MASKRE = '/^[^\';]$/';
App.Base.common.param.TEXTFIELD_INPUT_REGEX = '/^[^\\\';]+$/';
App.Base.common.param.TEXTFIELD_INPUT_REGEX_TIPS = '系统输入不能有以下字符 &nbsp \';';

//
App.Base.common.param.TRADESMGR_TRADEDAY_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'baseinfomanage/TradeDaysHandle.do';


//
App.Base.common.param.ORGMGR_TREE_ROOTNODE_NORMAL_TITLE = '组织机构管理';
App.Base.common.param.ORGMGR_TREE_ROOTNODE_QTIP = App.Base.common.param.SYSROLESMGR_TREE_ROOTNODE_NORMAL_TITLE;
App.Base.common.param.ORGMGR_TREE_ROOTNODE_ID = 'ORGIDROOTNODE';
App.Base.common.param.ORGMGR_TREE_ROOTNODE_NORMALICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_ICON_URL;
App.Base.common.param.ORGMGR_TREE_ROOTNODE_EXPANDICON_URL = App.Base.common.param.SYSTEM_MAIN_TREEPANEL_ROOTNODE_EXPANDICON_URL;
App.Base.common.param.ORGMGR_ASYNC_TREELOADER_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'baseinfomanage/OrganLayerQuery.do';
App.Base.common.param.ORGMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'baseinfomanage/OrganFlatQuery.do';
App.Base.common.param.ORGMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'baseinfomanage/OrganHandle.do';
//
App.Base.common.param.OPERMGR_OPERATION_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'baseinfomanage/OperatorHandle.do';
App.Base.common.param.OPERMGR_GRID_DATAURL = App.Base.common.param.WEBAPP_LOOKUP_ROOT_PATH + 'baseinfomanage/OperatorFlatQuery.do';


App.Base.common.param.CHATROOM_RECEIVE_MSG_WINDOW_STATUS_ON = '1';
App.Base.common.param.CHATROOM_RECEIVE_MSG_WINDOW_STATUS_OFF = '0';
